package com.wxzz.elearing.evaluation.entity;

import java.math.BigDecimal;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.wxzz.elearning.common.bean.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 题目记录
 * </p>
 *
 * @author
 * @since 2021-04-19
 */
@Data
@ApiModel(value = "TopicHistory对象", description = "题目记录")
public class TopicHistory extends BaseEntity {

    @ApiModelProperty(value = "组别管理名称")
    private String businessCategoryName;

    @ApiModelProperty(value = "题目名称")
    private String topicName;

    @ApiModelProperty(value = "题目类型  0-单选 1-多选 2-判断")
    private Integer topicType;

    @ApiModelProperty(value = "获得分数")
    private BigDecimal score;

    @ApiModelProperty(value = "答案选项json")
    private String answers;

    @ApiModelProperty(value = "0-工厂体检 1-星级认证 2-能力测评")
    private Integer businessType;

    @ApiModelProperty(value = "工厂体检/星级认证/能力测评id")
    private Long commonId;

    @ApiModelProperty(value = "选择的选项")
    private String items;

    @ApiModelProperty(value = "限制选择个数")
    private Integer chooseNum;

    private Long wxUserId;

    @TableField(exist = false)
    @ApiModelProperty(value = "答案选项数组")
    private List<TopicAnswer> answersArray;

}
